Enable/disable toobar buttons based on record selection

<div class="definition">
    updateToolbar(sel)
</div>
<div class="arguments">
    <table>
    <tr>
        <td>sel</td>
        <td><b>object</b>, object of selected records</td>
    </tr>
    </table>
</div>
Returns <i>undefined</i>.

<h4>Description</h4>

This method method is used intervnally to update toolbar on selection change. It will enable or disable buttons based on
<span class="method">batch</span> property.

<h4>See Also</h4>

<a href="w2grid.toolbar">toolbar</a> - sea batch property<br>